#ifndef GND_GLOBAL_H
#define GND_GLOBAL_H

#include <gtk/gtk.h>
#define BUFFER_SIZE 1024
#define PORT 4396

//Json的状态
#define GND_JSON_STATUS_NULL 0x0000
#define GND_JSON_STATUS_SUCCEED 0x0001
#define GND_JSON_STATUS_FAILURE 0x0002


typedef struct
{
    gint std_in;
    gint std_out;
    gint std_error;
    GPid pid;
    gpointer data;
} GndStdFd;

gboolean gnd_do_nothing_return_true(gpointer data);
gboolean gnd_do_nothing_return_false(gpointer data);

#endif
